package com.hyj.shop.project.index.domain;

import com.hyj.shop.project.utils.domain.BaseEntity;

public class Comment extends BaseEntity {
    int id;
    String content;
    String userName;
    String responsePerson;
    String avatar;
    String nickName;
    int responsePersonId;
    int userId;
    int articleId;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public String getResponsePerson() {
        return responsePerson;
    }

    public void setResponsePerson(String responsePerson) {
        this.responsePerson = responsePerson;
    }

    public int getResponsePersonId() {
        return responsePersonId;
    }

    public void setResponsePersonId(int responsePersonId) {
        this.responsePersonId = responsePersonId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", userName='" + userName + '\'' +
                ", responsePerson='" + responsePerson + '\'' +
                ", avatar='" + avatar + '\'' +
                ", nickName='" + nickName + '\'' +
                ", responsePersonId=" + responsePersonId +
                ", userId=" + userId +
                ", articleId=" + articleId +
                "} " + super.toString();
    }
}
